package views
{
	import inerface.IPanelSet;
	
	import main.ViewSubBase;
	
	import panel.setPanel.PanelSet;
	
	public class PanelSetView extends ViewSubBase
	{
		private var _panel:IPanelSet;
		public function PanelSetView()
		{
			super();
		}
		
		public override function show():void
		{
			render();
		}
		
		protected override function render():void
		{
		    if(!_panel)
			{
				_panel = new PanelSet();
				_panel.init(this.layout.stage,this.resourceLoader,this.lang,this.data.uri);
			}
			
			this.addView(_panel);
		}
		
	}
}